export function Ok(data,options?) {
  return {
success:true,data:data,
total:options?.total||0,
_paramsreq:options?._paramsreq
}
}

export function Fail(message) {
  return {success:false,message}
}

export function okotherres(data) {
  return data
}
export const failres=Fail
export const okres=Ok
